!!!
%html{:xmlns=>"http://www.w3.org/1999/xhtml"}
  %head
    %meta{'http-equiv'=>"Content-Type", :content=>"text/html; charset=utf-8"}
    %META{'HTTP-EQUIV'=>"Pragma", :CONTENT=>"no-cache"}
    %META{'property'=>"fb:app_id", :content=>"164726177047059"}
    %META{'HTTP-EQUIV'=>"Expires", :CONTENT=>"-1"}
    /= javascript_include_tag :defaults
    /= javascript_include_tag 'live_validation'
    - if request.path =~ /\/change_role/ || request.path =~ /\/course\/video.+/ || request.path =~ /\/users\/signup/ || request.path =~ /\/users\/create/ || request.path =~ /\/main\/welcome/ || request.path =~ /\/exam\/exam_schedule/
      = javascript_include_tag 'prototype','scriptaculous'
    - elsif request.path =~ /\/user_types/  || request.path =~ /\/educations/ || request.path =~ /\/auto_users/ || request.path =~ /\/owned_users/ || request.path =~ /\/auto_stations/ || request.path =~ /\/station\/manage/ || request.path =~ /\/auto_user_stations/
      = javascript_include_tag :defaults
      = active_scaffold_includes
      = calendar_date_select_includes
    - else
      = javascript_include_tag 'jquery'
    = javascript_include_tag 'livevalidation_standalone'
    = stylesheet_link_tag "songrit", "nares", "chaiyo", 'live_validation'
    %title PASS
  %body
    = render :partial => "layouts/theme_top"
    .page
      .notice= flash[:notice]
      .command= render :partial=>"layouts/command"
      .main= yield
- flash[:notice] = nil